import DCLib.Tool

# DCLib.Tool.whether_pod_is_exist("yarn-master")
#
# DCLib.Tool.copy_local_file_to_pod("/Users/zhendu/PycharmProjects/DCLib_driver/tmp/python_script_cache/mapper_task_py6377095191420200604222019.py", "yarn-master", "/")

DCLib.Tool.ugly_move_local_data_to_hdfs(DCLib.Config.HDFS_MASTER_POD_DEFAULT_NAME, "/Users/zhendu/Desktop/test123", "/user/root/")